/*
 * @Author: zhuxiaoyi
 * @Date: 2024-01-12 14:45:10
 * @LastEditor: zhuxiaoyi
 * @LastEditTime: 2024-08-07 11:39:17
 * @Description:
 */
import { Entity, Column, PrimaryColumn, CreateDateColumn, UpdateDateColumn,  } from 'typeorm';

@Entity('tb_l2pub_grapType')
export class GraphType {

  @PrimaryColumn()
  id: string;

  @Column()
  name: string;

  @Column({nullable: true })
  desc: string;

  @CreateDateColumn()
  createDate: Date;

  @UpdateDateColumn()
  updateDate: Date;

  @Column({nullable: true })
  parent: string;

}
